'use strict';

/**
 * @param {Egg.Application} app - egg application
 */

// app/router.js
module.exports = app => {
  const { router, controller } = app;
  require('./router/index')(app);
  require('./router/news')(app);
  require('./router/user')(app);
  require('./router/dingtalk')(app);
  //router.redirect('/','new/',302)//跳转
};